package com.woniu;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@MapperScan(basePackages = "com.woniu.product.dao")
//加注解扫到feign 包名是为了提高性能
@EnableFeignClients(basePackages = "com.woniu.product.client")
public class ProductStart {
    public static  void main(String[] args){
        SpringApplication.run(ProductStart.class,args);
    }
}
